//
//  DataBaseHandler.h
//  18--Homework
//
//  Created by 冀永金 on 16/8/8.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@class Contact;
@interface DataBaseHandler : NSObject
{
    sqlite3 *dbPoint;
}
+ (DataBaseHandler *)shareManager;
- (void)openTable;
- (void)createTable;
- (void)insertContact:(Contact *)contact;
- (void)deleteContact:(NSInteger)number;
- (__kindof NSArray *)selectAll;
- (NSMutableArray *)selectForName:(NSString *)name;

@end
